package com.PengGoBook.main;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

public class PengGoBookApp extends BaseActivity {

    private Handler mHandler = new Handler(){
        @Override
        public void handleMessage(Message msg) {

            goHome();
        }
    };
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mHandler.removeMessages(0);
        mHandler.sendEmptyMessageDelayed(0,2000);
//        UmengUpdateAgent.setUpdateOnlyWifi(false);
//        UmengUpdateAgent.update(this);
    }


    private void goHome(){
        openActivity(PengGoBookMainApp.class);
        defaultFinish();
    }
}
